package com.itheima.myextends.继承下构造方法访问特点_08;

public class Fu {
public Fu (){
    super();
    System.out.println("Fu...无参构造...");
}
    public Fu (int a){
        super();
        System.out.println("Fu...带参构造...");
    }
}
class Zi extends Fu{
    public Zi(){
        this(10);
        System.out.println("Zi...无参构造...");
    }
    public Zi(int a){
        super(10);
        System.out.println("Zi...带参构造...");
    }
}